package com.cloudbroker.bcs.platform.dav.bizexport.t2.common;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cloudbroker.bcs.common.entity.HSBCPSBackVO;
import com.cloudbroker.bcs.platform.dav.bizapi.service.common.file.FileBizService;
import com.cloudbroker.bcs.platform.dav.bizapi.service.common.file.result.FileDownloadVo;
import com.cloudbroker.bcs.platform.dav.bizapi.service.common.file.vo.FileDownloadParam;
import com.cloudbroker.bcs.platform.dav.bizapi.service.common.file.vo.FileUploadParam;
import com.cloudbroker.bcs.platform.dav.bizapi.t2service.common.FileT2BizService;

/**
 * Created by xuyn15828 on 2016/3/15.
 */
@Service
public class FileT2 implements FileT2BizService {
    @Resource
    private FileBizService fileBizService;
    
    @Override
    public HSBCPSBackVO uploadFile(FileUploadParam param) {
        return fileBizService.uploadFile(param);
    }
    
    @Override
    public FileDownloadVo downloadFile(FileDownloadParam param) {
        return fileBizService.downloadFile(param);
    }
    
}
